
package za.ac.cput.peter.ObjectOrientatedConcepts.Composition.Impl;

import javax.persistence.Embedded;


public class ChildDNA 
{
    @Embedded
    private ParentDNA parentdna;

    public ChildDNA(){ parentdna = new ParentDNA(); }
       
    public ParentDNA getParentdna() { return parentdna; }
    public void setParentdna(ParentDNA parentdna) { this.parentdna = parentdna; }
}